﻿@extends("admin.base.base")
@section("title")
<title>我的桌面</title>
@endsection
@section("content")
<div class="page-container">
	<p class="f-20 text-success">欢迎使用H-ui.admin <span class="f-14">v3.1</span>后台模版！</p>

	<p>上次登录IP：222.35.131.79.1  上次登录时间：2014-6-14 11:19:55</p>
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th colspan="7" scope="col">信息统计</th>
			</tr>
			<tr class="text-c">
				<th>统计</th>
				<th>基地</th>
				<th>承办机构</th>
				<th>资讯库</th>
				<th>游记库</th>
				<th>用户</th>
			</tr>
		</thead>
		<tbody>
			<tr class="text-c">
				<td>总数</td>
				<td>{{$spot_total}}</td>
				<td>9</td>
				<td>{{$article_total}}</td>
				<td>{{$travels_total}}</td>
				<td>{{$user_total}}</td>
			</tr>
			<tr class="text-c">
				<td>今日</td>
				<td>{{$spot_today_total}}</td>
				<td>0</td>
				<td>{{$article_today_total}}</td>
				<td>{{$travels_today_total}}</td>
				<td>{{$user_today_total}}</td>
			</tr>
			<tr class="text-c">
				<td>昨日</td>
				<td>{{$yesterday_total}}</td>
				<td>0</td>
				<td>{{$yesterday_article_total}}</td>
				<td>{{$yesterday_travels_total}}</td>
				<td>{{$yesterday_user_total}}</td>
			</tr>
			<tr class="text-c">
				<td>本周</td>
				<td>{{$thisweek_total}}</td>
				<td>0</td>
				<td>{{$thisweek_article_total}}</td>
				<td>{{$thisweek_travels_total}}</td>
				<td>{{$thisweek_user_total}}</td>
			</tr>
			<tr class="text-c">
				<td>本月</td>
				<td>{{$thismonth_total}}</td>
				<td>0</td>
				<td>{{$thismonth_article_total}}</td>
				<td>{{$thismonth_travels_total}}</td>
				<td>{{$thismonth_user_total}}</td>
			</tr>
		</tbody>
	</table>
	<table class="table table-border table-bordered table-bg mt-20">
		<thead>
			<tr>
				<th colspan="2" scope="col">服务器信息</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<th width="30%">服务器计算机名</th>
				<td><span id="lbServerName"><? echo $_SERVER['SERVER_NAME'];?></span></td>
			</tr>
			<tr>
				<td>服务器IP地址</td>
				<td>{{$ip}}</td>
			</tr>
			<tr>
				<td>服务器域名</td>
				<td>{{$server_name}}</td>
			</tr>
			<tr>
				<td>服务器端口 </td>
				<td>{{$server_port}}</td>
			</tr>
			<tr>
				<td>本文件所在文件夹 </td>
				<td>{{$document_root}}</td>
			</tr>
			<tr>
				<td>服务器操作系统 </td>
				<td><? echo PHP_OS; ?></td>
			</tr>
			<tr>
				<td>服务器脚本超时时间 </td>
				<td>{{$max_time}}秒</td>
			</tr>
			<tr>
				<td>服务器的语言种类 </td>
				<td>Chinese (People's Republic of China)</td>
			</tr>
			<tr>
				<td>服务器当前时间 </td>
				<td><?php date_default_timezone_set ('PRC'); echo date("Y-m-d G:i:s");?></td>
			</tr>
		</tbody>
	</table>
</div>
<footer class="footer mt-20">
	<div class="container">
		<p>本后台系统丘土工作室技术支持</p>
	</div>
</footer>
@endsection